namespace SharpObjects.XpathToObjects
{
    public class PathElementObject : PathElement
    {
        public string Name { get; set; }
        public string Condition { get; set; }
        public bool IsAttribute { get; set; }
        public int? Index { get; set; }

        public PathElementObject(string text)
            : base(text)
        {
            
        }

        public override PathElement.ePathElementType ElementType
        {
            get { return ePathElementType.Object; }
        }

    }
}